package com.yangxk.kadmin.generator.genfile;

import lombok.Getter;
import lombok.Setter;

/**
 * 生成文件对象
 * create by yangxk on 2018/10/12 14:38
 */
@Getter
@Setter
public class GeneratorFile {
    private String filename; // 文件名称
    private String path; // 文件绝对路径
    private boolean edit = false; // 是否为修改文件
    private String content; // 修改文件内容

    public GeneratorFile(String filename, String path, boolean edit, String content) {
        this.filename = filename;
        this.path = path;
        this.edit = edit;
        this.content = content;
    }

    public GeneratorFile(String filename, String path) {
        this.filename = filename;
        this.path = path;
    }
}
